﻿using System;
using System.Collections.Generic;

namespace Rj_GsInsurance.Server.DataBaseContext.Entities
{
    /// <summary>
    /// 药房工作状态信息表
    /// </summary>
    public partial class DrugTbDeptWork
    {
        /// <summary>
        /// 主键
        /// </summary>
        public long Id { get; set; }
        /// <summary>
        /// 药房ID
        /// </summary>
        public int DeptId { get; set; }
        /// <summary>
        /// 工作日开始时间
        /// </summary>
        public TimeSpan? WorkBeginTime { get; set; }
        /// <summary>
        /// 工作日结束时间
        /// </summary>
        public TimeSpan? WorkEndTime { get; set; }
        /// <summary>
        /// 周六开始时间
        /// </summary>
        public TimeSpan? SatBeginTime { get; set; }
        /// <summary>
        /// 周六结束时间
        /// </summary>
        public TimeSpan? SatEndTime { get; set; }
        /// <summary>
        /// 周日开始时间
        /// </summary>
        public TimeSpan? SunBeginTime { get; set; }
        /// <summary>
        /// 周日结束时间
        /// </summary>
        public TimeSpan? SunEndTime { get; set; }
        /// <summary>
        /// 排药开始时间前缀 1当日 2次日
        /// </summary>
        public string? PlanBeginPrefix { get; set; }
        /// <summary>
        /// 排药开始时间
        /// </summary>
        public TimeSpan? PlanBeginTime { get; set; }
        /// <summary>
        /// 排药结束时间前缀 1当日 2次日
        /// </summary>
        public string? PlanEndPrefix { get; set; }
        /// <summary>
        /// 排药结束时间
        /// </summary>
        public TimeSpan? PlanEndTime { get; set; }
        /// <summary>
        /// 当前工作开始时间
        /// </summary>
        public TimeSpan? CurrentBeginTime { get; set; }
        /// <summary>
        /// 当前工作结束时间
        /// </summary>
        public TimeSpan? CurrentEndTime { get; set; }
        /// <summary>
        /// 出院带药标识 1:是 0:否 DRJCM061
        /// </summary>
        public string DischargeDrugFlag { get; set; } = null!;
        /// <summary>
        /// 工作状态标识 1:上班 2:下班
        /// </summary>
        public string? WorkFlag { get; set; }
        /// <summary>
        /// 院区id
        /// </summary>
        public int HospitalId { get; set; }
        /// <summary>
        /// 有效状态 1:启用 0:停用
        /// </summary>
        public bool? Status { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        public int? CreateBy { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }
        /// <summary>
        /// 更新人
        /// </summary>
        public int? UpdateBy { get; set; }
        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime UpdateTime { get; set; }
    }
}
